{% set x = c.ctx %} {% set running = x.events|selectattr('state','equalto','running')|list %} {% set upcoming = x.events|selectattr('state','equalto','upcoming')|list %} {% for e in running %}
{{ e.line }}
{% if e.badges %}Running now. You are not in it.
{% endif %}{{ e.sign }} {{ e.name }} starts in {{ e.starts_in_days }} day{{ '' if e.starts_in_days == 1 else 's' }} ({{ e.event.starts }}){% if e.joined %} — you're in{% else %} —
{% endif %} {% endfor %} {% if not x.events %}{{ x.n }} playset{{ '' if x.n == 1 else 's' }} installed. Training, prompts, mantras, badges and events, made by other people, installed from a file.
{% endif %} Playsets →